package com.shop.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.admin.dto.PageCouponBatchDTO;
import com.shop.admin.entity.CouponBatch;
import com.shop.admin.entity.CouponRule;
import com.shop.admin.vo.CouponRuleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CouponRuleDao extends BaseMapper<CouponRule> {
    Page<CouponRuleVo> pageCouponRuleDesc(@Param("page") Page<CouponRuleVo> page, @Param("pageCouponBatchDTO") PageCouponBatchDTO pageCouponBatchDTO);
}
